import React, { Component } from 'react';
import { Hoc } from './hoc';

@Hoc
export default class son extends Component {
  render() {
    const { son } = this.props;
    return (
      <div>
        <button onClick={son}>son</button>
      </div>
    );
  }
}
// export default Hoc(son);
